<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>登录页面</title>
  <link rel="stylesheet" type="text/css" href="./assets/lib/layui/css/layui.css">
  <link rel="stylesheet" type="text/css" href="./assets/css/login.css">
</head>
<body>
  <!-- 顶部的logo -->
  <div class="layui-container header">
    <img src="./assets/images/logo.png">
  </div>
  <!-- 中间的表单区域 -->
  <div class="login-form">
    <!-- 标题 -->
    <div class="title"></div>
    <!-- 登录表单 -->
    <form id="login-form" class="layui-form" action="">
      <div class="layui-form-item">
        <i class="layui-icon layui-icon-username"></i>   
        <input type="text" name="username" lay-verify='required|uname' placeholder="请输入用户名" autocomplete="off" class="layui-input">
      </div>
      <div class="layui-form-item">
        <i class="layui-icon layui-icon-password"></i>   
        <input type="password" name="password" lay-verify='required|pwd' placeholder="请输入密码" autocomplete="off" class="layui-input">
      </div>
      <div class="layui-form-item">
        <button class="layui-btn layui-btn-normal layui-btn-fluid" lay-submit lay-filter="formDemo">立即提交</button>
      </div>
      <div class="link">
        <a href="javascript:;">去注册账号</a>
      </div>
    </form>
    <!-- 注册表单 -->
    <form id="reg-form" class="layui-form" action="">
      <div class="layui-form-item">
        <i class="layui-icon layui-icon-username"></i>   
        <input type="text" name="username" lay-verify='required|uname' placeholder="请输入用户名" autocomplete="off" class="layui-input">
      </div>
      <div class="layui-form-item">
        <i class="layui-icon layui-icon-password"></i>   
        <input type="password" name="password" lay-verify='required|pwd' placeholder="请输入密码" autocomplete="off" class="layui-input">
      </div>
      <div class="layui-form-item">
        <i class="layui-icon layui-icon-password"></i>   
        <input type="password" lay-verify='required|pwd|same' placeholder="请输入确认密码" autocomplete="off" class="layui-input">
      </div>
      <div class="layui-form-item">
        <button class="layui-btn layui-btn-normal layui-btn-fluid" lay-submit lay-filter="formDemo">立即提交</button>
      </div>
      <div class="link">
        <a href="javascript:;">去登录</a>
      </div>
    </form>
  </div>
  <script src="./assets/lib/jquery.js"></script>
  <script src="./assets/lib/layui/layui.all.js"></script>
  <script src="./assets/js/common.js"></script>
  <script src="./assets/js/login.js"></script>
</body>
</html>